﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace com.ytocargo.Core.GeneralDocs
{
    public interface IGeneralDocStore
    {
        Task<bool> BatchInsertAsync(List<GeneralDoc> generalDocs);

        Task InsertAsync(GeneralDoc generalDoc);

        Task DeleteAsync(GeneralDoc generalDoc);

        Task<bool> DeleteAllAsync();

        IQueryable<GeneralDoc> GetAll();
    }
}
